package com.app.micaihu.bean.comment;

import android.text.TextUtils;

import com.app.micaihu.configure.TypeConstant;

import java.util.List;

/**
 * 评论详情
 * Created by linkai on 2016/8/23.
 */
public class CommentDetail extends NewsComment {

    private String articleTitle;//文章标题
    private String[] articleThumb;//新闻图片集合
    private String articleType;//文章类型
    private String typeName;//文章类型名称

    private List<PariseBean> praiseList;//点赞集合

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String[] getArticleThumb() {
        return articleThumb;
    }

    public void setArticleThumb(String[] articleThumb) {
        this.articleThumb = articleThumb;
    }

    public String getArticleType() {
        return articleType;
    }

    public void setArticleType(String articleType) {
        this.articleType = articleType;
    }

    public String getCommentTypeName() {
        if(TextUtils.isEmpty(typeName)){
            typeName = TypeConstant.getNewsTypeName(articleType);
        }
        return typeName;
    }

    public void setCommentTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public List<PariseBean> getPraiseList() {
        return praiseList;
    }

    public void setPraiseList(List<PariseBean> praiseList) {
        this.praiseList = praiseList;
    }
}
